﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Mole
{
    public partial class FrmDependencies : Form
    {
        public FrmDependencies()
        {
            InitializeComponent();
        }

        public void LoadText(String text)
        {
            richTextBox1.Text = text;
        }

        public void LoadText(System.IO.FileInfo file)
        {
            richTextBox1.LoadFile(file.FullName);
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start(e.LinkText);
        }

    }
}
